package com.swf.jpa.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.IdClass;
import com.swf.jpa.generator.TableModel;

@Entity
@IdClass(TcompresultPK.class)
@Table(name = "TCOMPRESULT")
public class Tcompresult extends TableModel {
	
	private String vcDate;
	private String vcTradeacco;
	private String vcFundcode;
	private String cSharetype;
	private Double enSaletotalshare;
	private Double enTatotalshare;
	private Double enDiffshare;
	private String cResult;
	private String vcConfirmno;
	private String vcRegdate;
	@Id
	@Column(name = "VC_DATE")
	public String getVcDate() {
		return vcDate;
	}

	public void setVcDate(String vcDate) {
	    this.vcDate = vcDate;
	}
	@Id
	@Column(name = "VC_TRADEACCO")
	public String getVcTradeacco() {
		return vcTradeacco;
	}

	public void setVcTradeacco(String vcTradeacco) {
	    this.vcTradeacco = vcTradeacco;
	}
	@Id
	@Column(name = "VC_FUNDCODE")
	public String getVcFundcode() {
		return vcFundcode;
	}

	public void setVcFundcode(String vcFundcode) {
	    this.vcFundcode = vcFundcode;
	}
	
	@Column(name = "C_SHARETYPE")
	public String getCSharetype() {
		return cSharetype;
	}

	public void setCSharetype(String cSharetype) {
	    this.cSharetype = cSharetype;
	}
	
	@Column(name = "EN_SALETOTALSHARE")
	public Double getEnSaletotalshare() {
		return enSaletotalshare;
	}

	public void setEnSaletotalshare(Double enSaletotalshare) {
	    this.enSaletotalshare = enSaletotalshare;
	}
	
	@Column(name = "EN_TATOTALSHARE")
	public Double getEnTatotalshare() {
		return enTatotalshare;
	}

	public void setEnTatotalshare(Double enTatotalshare) {
	    this.enTatotalshare = enTatotalshare;
	}
	
	@Column(name = "EN_DIFFSHARE")
	public Double getEnDiffshare() {
		return enDiffshare;
	}

	public void setEnDiffshare(Double enDiffshare) {
	    this.enDiffshare = enDiffshare;
	}
	
	@Column(name = "C_RESULT")
	public String getCResult() {
		return cResult;
	}

	public void setCResult(String cResult) {
	    this.cResult = cResult;
	}
	
	@Column(name = "VC_CONFIRMNO")
	public String getVcConfirmno() {
		return vcConfirmno;
	}

	public void setVcConfirmno(String vcConfirmno) {
	    this.vcConfirmno = vcConfirmno;
	}
	
	@Column(name = "VC_REGDATE")
	public String getVcRegdate() {
		return vcRegdate;
	}

	public void setVcRegdate(String vcRegdate) {
	    this.vcRegdate = vcRegdate;
	}
}
